﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace UHuDining.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "测试";
            UHUModel.UserPoint u = new UHUModel.UserPoint() 
            {
                ID=0,LoginName="test",
                Other="",
                Point=15m,
                PointStatus=1,
                PointTime=DateTime.Now,
                PointType=2 
            };
            var result = new UHUBLL.UserPointBLL().Create(u);
            return View();
        }

        public ActionResult About()
        {
            return View();
        }

    }
}
